package com.bdqn.tour.service.impl;

import com.bdqn.tour.dao.HqfupdateScenicDao;
import com.bdqn.tour.dao.impl.HqfupdateScenicImpl;
import com.bdqn.tour.pojo.Scenic;
import com.bdqn.tour.service.HqfupdateService;

//修改景点信息服务类
public class hqfupdateServiceImpl implements HqfupdateService {
    @Override
    public int updateScenic(Scenic scenic) {
        HqfupdateScenicDao hqfupdateScenicDao = new HqfupdateScenicImpl();
        return hqfupdateScenicDao.updateScenic(scenic);
    }


//    public Scenic getScenicById(int id) {
//        return scenicDao.getScenicById(id);
//
//    }
}
